UndoUnit<T> Class
Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Utils
Base class for all undo units
public abstract class UndoUnit<T>
Inheritance
UndoUnit<T> → object
Type Parameters
T | The document context type |
Constructors
UndoUnit() | Constructs a new UndoUnit |
UndoUnit(string) | Constructs a new UndoUnit with a description |
Properties
Description | Gets the description of this undo unit |
Group | Gets or sets the group that owns this undo unit |
Sealed | Checks is this item is sealed |
Methods
Do(T) | Instructs the unit to execute the "Do" operation |
Redo(T) | Instructs the unit to execute the "ReDo" operation |
Seal() | Informs the unit that no subsequent coalescing operations will be appended to this unit |
Undo(T) | Instructs the unit to execute the "Undo" operation |